var gulp = require('gulp');
var gutil = require('gulp-util')
var mplug=require('./plug/myplug.js')
var ejs = require("gulp-ejs")
var minimist = require('minimist');

var argv = require('minimist')(process.argv.slice(2));
gulp.task('default', function() {
  // 将你的默认的任务代码放在这
  gulp.src('test/test.tpl')
    .pipe(ejs({
        title:"console.log"
    }))
    .pipe(mplug('aaa'))
    .pipe(gulp.dest('./dist'))
  console.log(argv.name);
});

